package jgl.vajra.operator.part.vehicle.model;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.operator.bean.OrderDetailsCompleteBean;
import jgl.vajra.operator.part.vehicle.contract.OrderDetailsCompleteContract;
import jgl.vajra.operator.widget.manager.RxJavaHttpManager;
import jgl.vajra.operator.widget.manager.retrofit.RetrofitJsonManager;

public class OrderDetailsCompleteModel extends OrderDetailsCompleteContract.Model{
    @Override
    public Observable<OrderDetailsCompleteBean> getOrderDetailsCompleteData(Map<String, Object> map) {
        return RetrofitJsonManager.getInstance().getApiService().getOrderDetailsCompleteData(map)
                .compose(RxJavaHttpManager.applyTransformer());
    }
}
